<?php
class ApparatusModel extends Orm_Base{
    public $table = 'apparatus';
    public $field = array(
        'id' => array('type' => "int(11) unsigned",'comment' => ''),
        'r_id' => array('type' => "int(11) unsigned",'comment' => '关联医疗器械清单ID'),
        'status' => array('type' => "tinyint(1)",'comment' => '服务状态'),
        'department' => array('type' => "tinyint(2)",'comment' => ''),
        'created' => array('type' => "int(11)",'comment' => ''),
        'updated' => array('type' => "int(11)",'comment' => ''),
    );
    public $pk = 'id';
} 
?>
